<?php
require_once("db/db_connector.php");
require_once("db/db_user.php");

// Database Access Begins ---------------------------------------- //


// Database Access Ends ------------------------------------------ //

?>

<?php
include_once("include/header.php");
?>

<h2>User Edit</h2>

<form action="user_edit_end.php" method="post">
	<table>
		<tr>
			<td><label for="username">username</label></td>
			<td><input id="username" name="username" type="text" /></td>
		</tr>
		<tr>
			<td><label for="password">password</label></td>
			<td><input id="password" name="password" type="password" /></td>
		</tr>
		<tr>
			<td><label for="email">email</label></td>
			<td><input id="email" name="email" type="email" /></td>
		</tr>
		<tr>
			<td>Admin</td>
			<td>
				<label>
					<input name="is_admin" type="radio" value=1/> Yes
				</label>
				<label>
					<input name="is_admin" type="radio" value=0/> No
				</label>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<input type="submit" />
			</td>
		</tr>
	</table>
</form>

<?php
include_once("include/footer.php");
?>
